<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.TPointerEvent类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_t_pointer_event.html">TPointerEvent</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classawtk_1_1_t_pointer_event-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">awtk.TPointerEvent类 参考</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 awtk.TPointerEvent 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classawtk_1_1_t_pointer_event.png" usemap="#awtk.TPointerEvent_map" alt=""/>
  <map id="awtk.TPointerEvent_map" name="awtk.TPointerEvent_map">
<area href="classawtk_1_1_t_event.html" alt="awtk.TEvent" shape="rect" coords="0,0,120,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a5740831b0b93b5a658088579cda2c09a" id="r_a5740831b0b93b5a658088579cda2c09a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5740831b0b93b5a658088579cda2c09a">TPointerEvent</a> (long <a class="el" href="classawtk_1_1_t_event.html#aede2b8f4ca1f04e2ac01814f947c4304">nativeObj</a>)</td></tr>
<tr class="separator:a5740831b0b93b5a658088579cda2c09a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34236d1b41e8b8c1433c35af79c116d2" id="r_a34236d1b41e8b8c1433c35af79c116d2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a34236d1b41e8b8c1433c35af79c116d2">getX</a> ()</td></tr>
<tr class="separator:a34236d1b41e8b8c1433c35af79c116d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e6d04625cd0136794650657ff438523" id="r_a2e6d04625cd0136794650657ff438523"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2e6d04625cd0136794650657ff438523">getY</a> ()</td></tr>
<tr class="separator:a2e6d04625cd0136794650657ff438523"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6304790e1c6f4c4baf017db7397426fa" id="r_a6304790e1c6f4c4baf017db7397426fa"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6304790e1c6f4c4baf017db7397426fa">getButton</a> ()</td></tr>
<tr class="separator:a6304790e1c6f4c4baf017db7397426fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8aa4082fb7b1caa6c2488a54d7ee0ff" id="r_ad8aa4082fb7b1caa6c2488a54d7ee0ff"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad8aa4082fb7b1caa6c2488a54d7ee0ff">getPressed</a> ()</td></tr>
<tr class="separator:ad8aa4082fb7b1caa6c2488a54d7ee0ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d252ea226182c75ad747f40c55e4c45" id="r_a1d252ea226182c75ad747f40c55e4c45"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1d252ea226182c75ad747f40c55e4c45">getAlt</a> ()</td></tr>
<tr class="separator:a1d252ea226182c75ad747f40c55e4c45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca6ded312fb1a7936fa1e26fa829433b" id="r_aca6ded312fb1a7936fa1e26fa829433b"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aca6ded312fb1a7936fa1e26fa829433b">getCtrl</a> ()</td></tr>
<tr class="separator:aca6ded312fb1a7936fa1e26fa829433b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8c9f5a082f658a081c4214ca0844a4f" id="r_ab8c9f5a082f658a081c4214ca0844a4f"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab8c9f5a082f658a081c4214ca0844a4f">getCmd</a> ()</td></tr>
<tr class="separator:ab8c9f5a082f658a081c4214ca0844a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afda1594b25f8d5d2c44702034494b64e" id="r_afda1594b25f8d5d2c44702034494b64e"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afda1594b25f8d5d2c44702034494b64e">getMenu</a> ()</td></tr>
<tr class="separator:afda1594b25f8d5d2c44702034494b64e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d3dfc39bff26890d06f42797337e613" id="r_a4d3dfc39bff26890d06f42797337e613"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4d3dfc39bff26890d06f42797337e613">getShift</a> ()</td></tr>
<tr class="separator:a4d3dfc39bff26890d06f42797337e613"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36be31dccea4e3cede3e50657957a649" id="r_a36be31dccea4e3cede3e50657957a649"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a36be31dccea4e3cede3e50657957a649">getFingerId</a> ()</td></tr>
<tr class="separator:a36be31dccea4e3cede3e50657957a649"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classawtk_1_1_t_event"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classawtk_1_1_t_event')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classawtk_1_1_t_event.html">awtk.TEvent</a></td></tr>
<tr class="memitem:ae01962dbecb1f5d4bad32bf314007ac0 inherit pub_methods_classawtk_1_1_t_event" id="r_ae01962dbecb1f5d4bad32bf314007ac0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#ae01962dbecb1f5d4bad32bf314007ac0">TEvent</a> (long <a class="el" href="classawtk_1_1_t_event.html#aede2b8f4ca1f04e2ac01814f947c4304">nativeObj</a>)</td></tr>
<tr class="separator:ae01962dbecb1f5d4bad32bf314007ac0 inherit pub_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a964ae7dc0cbb10e46a40dbf8ecda543f inherit pub_methods_classawtk_1_1_t_event" id="r_a964ae7dc0cbb10e46a40dbf8ecda543f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#a964ae7dc0cbb10e46a40dbf8ecda543f">getType</a> ()</td></tr>
<tr class="separator:a964ae7dc0cbb10e46a40dbf8ecda543f inherit pub_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcce6c53414eceb6b510eda03195779b inherit pub_methods_classawtk_1_1_t_event" id="r_abcce6c53414eceb6b510eda03195779b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#abcce6c53414eceb6b510eda03195779b">destroy</a> ()</td></tr>
<tr class="separator:abcce6c53414eceb6b510eda03195779b inherit pub_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac28b02dc1473875e50bd2dad0989849f inherit pub_methods_classawtk_1_1_t_event" id="r_ac28b02dc1473875e50bd2dad0989849f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#ac28b02dc1473875e50bd2dad0989849f">getSize</a> ()</td></tr>
<tr class="separator:ac28b02dc1473875e50bd2dad0989849f inherit pub_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedcabbe1dbd556316bb6a07bcefdf87e inherit pub_methods_classawtk_1_1_t_event" id="r_aedcabbe1dbd556316bb6a07bcefdf87e"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#aedcabbe1dbd556316bb6a07bcefdf87e">getTime</a> ()</td></tr>
<tr class="separator:aedcabbe1dbd556316bb6a07bcefdf87e inherit pub_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add2b6613b1e1ae53c15db5f6c2361e19 inherit pub_methods_classawtk_1_1_t_event" id="r_add2b6613b1e1ae53c15db5f6c2361e19"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#add2b6613b1e1ae53c15db5f6c2361e19">getTarget</a> ()</td></tr>
<tr class="separator:add2b6613b1e1ae53c15db5f6c2361e19 inherit pub_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a1d742682e1d090e9cbace7914d8a8534" id="r_a1d742682e1d090e9cbace7914d8a8534"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_pointer_event.html">TPointerEvent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1d742682e1d090e9cbace7914d8a8534">cast</a> (long <a class="el" href="classawtk_1_1_t_event.html#aede2b8f4ca1f04e2ac01814f947c4304">nativeObj</a>)</td></tr>
<tr class="separator:a1d742682e1d090e9cbace7914d8a8534"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10244153fb8160f304923dbe0cb0612e" id="r_a10244153fb8160f304923dbe0cb0612e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_pointer_event.html">TPointerEvent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a10244153fb8160f304923dbe0cb0612e">cast</a> (<a class="el" href="classawtk_1_1_t_event.html">TEvent</a> event)</td></tr>
<tr class="separator:a10244153fb8160f304923dbe0cb0612e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classawtk_1_1_t_event"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_static_methods_classawtk_1_1_t_event')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="classawtk_1_1_t_event.html">awtk.TEvent</a></td></tr>
<tr class="memitem:acf92f325c5d73dc6c56d6bd15227a21d inherit pub_static_methods_classawtk_1_1_t_event" id="r_acf92f325c5d73dc6c56d6bd15227a21d"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#acf92f325c5d73dc6c56d6bd15227a21d">fromName</a> (String name)</td></tr>
<tr class="separator:acf92f325c5d73dc6c56d6bd15227a21d inherit pub_static_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bdc42af19da75878d8b16f35b2e33d3 inherit pub_static_methods_classawtk_1_1_t_event" id="r_a4bdc42af19da75878d8b16f35b2e33d3"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#a4bdc42af19da75878d8b16f35b2e33d3">registerCustomName</a> (int event_type, String name)</td></tr>
<tr class="separator:a4bdc42af19da75878d8b16f35b2e33d3 inherit pub_static_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bcbd255b2c8e6bbeb5b8bae0b7f696b inherit pub_static_methods_classawtk_1_1_t_event" id="r_a9bcbd255b2c8e6bbeb5b8bae0b7f696b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#a9bcbd255b2c8e6bbeb5b8bae0b7f696b">unregisterCustomName</a> (String name)</td></tr>
<tr class="separator:a9bcbd255b2c8e6bbeb5b8bae0b7f696b inherit pub_static_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe7494adb31ef8d50da371e4558c948f inherit pub_static_methods_classawtk_1_1_t_event" id="r_abe7494adb31ef8d50da371e4558c948f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_event.html">TEvent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#abe7494adb31ef8d50da371e4558c948f">create</a> (int type)</td></tr>
<tr class="separator:abe7494adb31ef8d50da371e4558c948f inherit pub_static_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_attribs_classawtk_1_1_t_event"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_attribs_classawtk_1_1_t_event')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classawtk_1_1_t_event.html">awtk.TEvent</a></td></tr>
<tr class="memitem:aede2b8f4ca1f04e2ac01814f947c4304 inherit pub_attribs_classawtk_1_1_t_event" id="r_aede2b8f4ca1f04e2ac01814f947c4304"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#aede2b8f4ca1f04e2ac01814f947c4304">nativeObj</a></td></tr>
<tr class="separator:aede2b8f4ca1f04e2ac01814f947c4304 inherit pub_attribs_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>指针事件。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a5740831b0b93b5a658088579cda2c09a" name="a5740831b0b93b5a658088579cda2c09a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5740831b0b93b5a658088579cda2c09a">&#9670;&#160;</a></span>TPointerEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TPointerEvent.TPointerEvent </td>
          <td>(</td>
          <td class="paramtype">long</td>          <td class="paramname"><span class="paramname"><em>nativeObj</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>通过nativeObj构造Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a1d742682e1d090e9cbace7914d8a8534" name="a1d742682e1d090e9cbace7914d8a8534"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d742682e1d090e9cbace7914d8a8534">&#9670;&#160;</a></span>cast() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_pointer_event.html">TPointerEvent</a> awtk.TPointerEvent.cast </td>
          <td>(</td>
          <td class="paramtype">long</td>          <td class="paramname"><span class="paramname"><em>nativeObj</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel static">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把nativeObj转换层Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

<p>重载 <a class="el" href="classawtk_1_1_t_event.html#ab2ab11fa6f541612f29e4746fa5bf9f6">awtk.TEvent</a> .</p>

</div>
</div>
<a id="a10244153fb8160f304923dbe0cb0612e" name="a10244153fb8160f304923dbe0cb0612e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10244153fb8160f304923dbe0cb0612e">&#9670;&#160;</a></span>cast() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_pointer_event.html">TPointerEvent</a> awtk.TPointerEvent.cast </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classawtk_1_1_t_event.html">TEvent</a></td>          <td class="paramname"><span class="paramname"><em>event</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel static">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把event对象转pointer_event_t对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>event对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>event对象。 </dd></dl>

<p>重载 <a class="el" href="classawtk_1_1_t_event.html#a067587ea5a1a4108468531562ee3ccd9">awtk.TEvent</a> .</p>

</div>
</div>
<a id="a1d252ea226182c75ad747f40c55e4c45" name="a1d252ea226182c75ad747f40c55e4c45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d252ea226182c75ad747f40c55e4c45">&#9670;&#160;</a></span>getAlt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TPointerEvent.getAlt </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>alt键是否按下。 </p>

</div>
</div>
<a id="a6304790e1c6f4c4baf017db7397426fa" name="a6304790e1c6f4c4baf017db7397426fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6304790e1c6f4c4baf017db7397426fa">&#9670;&#160;</a></span>getButton()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TPointerEvent.getButton </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>button。 在不同的平台，该属性会发生变化， PC ：左键为 1，中键为 2，右键为 3 嵌入式：默认为 1 </p>

</div>
</div>
<a id="ab8c9f5a082f658a081c4214ca0844a4f" name="ab8c9f5a082f658a081c4214ca0844a4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8c9f5a082f658a081c4214ca0844a4f">&#9670;&#160;</a></span>getCmd()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TPointerEvent.getCmd </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>cmd键是否按下。 </p>

</div>
</div>
<a id="aca6ded312fb1a7936fa1e26fa829433b" name="aca6ded312fb1a7936fa1e26fa829433b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca6ded312fb1a7936fa1e26fa829433b">&#9670;&#160;</a></span>getCtrl()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TPointerEvent.getCtrl </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>ctrl键是否按下。 </p>

</div>
</div>
<a id="a36be31dccea4e3cede3e50657957a649" name="a36be31dccea4e3cede3e50657957a649"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36be31dccea4e3cede3e50657957a649">&#9670;&#160;</a></span>getFingerId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TPointerEvent.getFingerId </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>触摸ID。 </p>

</div>
</div>
<a id="afda1594b25f8d5d2c44702034494b64e" name="afda1594b25f8d5d2c44702034494b64e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afda1594b25f8d5d2c44702034494b64e">&#9670;&#160;</a></span>getMenu()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TPointerEvent.getMenu </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>menu键是否按下。 </p>

</div>
</div>
<a id="ad8aa4082fb7b1caa6c2488a54d7ee0ff" name="ad8aa4082fb7b1caa6c2488a54d7ee0ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8aa4082fb7b1caa6c2488a54d7ee0ff">&#9670;&#160;</a></span>getPressed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TPointerEvent.getPressed </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>指针是否按下。 </p>

</div>
</div>
<a id="a4d3dfc39bff26890d06f42797337e613" name="a4d3dfc39bff26890d06f42797337e613"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d3dfc39bff26890d06f42797337e613">&#9670;&#160;</a></span>getShift()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TPointerEvent.getShift </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>shift键是否按下。 </p>

</div>
</div>
<a id="a34236d1b41e8b8c1433c35af79c116d2" name="a34236d1b41e8b8c1433c35af79c116d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34236d1b41e8b8c1433c35af79c116d2">&#9670;&#160;</a></span>getX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TPointerEvent.getX </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>x坐标。 </p>

</div>
</div>
<a id="a2e6d04625cd0136794650657ff438523" name="a2e6d04625cd0136794650657ff438523"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e6d04625cd0136794650657ff438523">&#9670;&#160;</a></span>getY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TPointerEvent.getY </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>y坐标。 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/<b>TPointerEvent.java</b></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2
</small></address>
</div><!-- doc-content -->
</body>
</html>
